//推荐接口
import request from "./http";


// 获取搜索推荐数据
export function getSearchHot() {
    return request({
        url: "/search/hot",
        method: "get",
    })
}

// 获取搜索数据
export function getSearchDefault({ keywords }) {
    return request({
        url: "/cloudsearch?",
        method: "get",
        params: {
            limit: 15,
            keywords
        }

    })
}